@import './common';

.layaboxgreen{
    background-color: #8bc01f;
    .container{
        padding-top: 45px;
        padding-bottom: 60px;
        .row{
            .greenbox{
                p{
                    font-size: 14px;
                    line-height: 180%;
                    color: white;
                    margin-bottom: 20px;
                    &:nth-of-type(1){
                        font-size: 48px;
                        color: white;
                        margin-bottom: 0;
                        span{
                            background-color: white;
                            color: #8bc01f;
                            display: inline-block;
                            width: 10%;
                            border-radius: 5px;
                            text-align: center;
                            line-height: 100%;
                            margin-right: 10px;
                        }
                    }
                    &:nth-of-type(2){
                        font-size: 24px;
                        margin-bottom: 40px;
                    }

                    &:last-of-type{
                        margin-bottom: 30px;
                    }
                    
                }

                .download{
                    width: 18%;
                    button{
                        width: 100%;
                        height: 34px;
                        text-align: center;
                        background-color: #e8f2d2;
                        font-size: 14px;
                        color: #8bc01f;
                        border-radius: 10px;
                        border: 0;
                    }
                }
            }

            .greenimg{
                img{
                    width: 90%;
                }
            }
        }
    }
}

.layaboxblue{
    background-color: #3393df;
    .container{
        padding-top: 60px;
        padding-bottom: 60px;
        p{
            font-size: 48px;
            color: white;
            span{
                font-size: 40px;
                background-color: white;
                color: #3393df;
                display: inline-block;
                width: 4%;
                text-align: center;
                line-height: 110%;
                margin-right: 10px;
                border-radius: 5px;
            }
        }
        .row{
            display: flex;
            .blueboxtext{
                padding-top: 25px;
                p{
                    font-size: 14px;
                    line-height: 150%;

                    &:nth-of-type(1),&:nth-of-type(3){
                        font-size: 24px;
                    }
                    &:nth-of-type(2),&:nth-of-type(4){
                        margin-bottom: 26px;
                    }
                }
            }
            .L-pic3{
                display: flex;
                display: -webkit-flex;
                align-items: flex-end;

                img{
                    width: 80%;
                }
            }
            .L-pic2{
                img{
                    width: 90%;
                }
            }
        }
    }
}

.layaboxwhite{
    .container{
        padding-top: 85px;
        padding-bottom: 85px;
        .row{
            .whitetext{
                p{
                    font-size: 14px;
                    &:nth-of-type(1){
                        font-size: 42px;
                        span{
                            background-color: #3393df;
                            display: inline-block;
                            width: 8%;
                            border-radius: 5px;
                            font-size: 36px;
                            color: white;
                            text-align: center;
                            line-height: 120%;
                            margin-right: 10px;
                        }
                    }
                    &:nth-of-type(2){
                        font-size: 18px;
                    }
                }
                .soblue{
                    color: #3393df;
                }
                .so{
                    color: #5d5d5d;
                    text-indent: 2em;
                    margin-bottom: 25px;
                }
            }

            .whiteimg{
                text-align: center;
                padding-top: 15px;
            }
        }
    }
}
.gray{
    background-color: #f7f7f7;
}

@media screen and (max-width:992px){
    .layaboxgreen{
        .container{
            padding-top: 25px;
            padding-bottom: 25px;
            .row{
                .greenbox{
                    p{
                        font-size: 12px;
                        line-height: 150%;
                        margin-bottom: 10px;
                        &:nth-of-type(1){
                            font-size: 30px;
                            span{
                                width: 10%;
                                margin-right: 10px;
                            }
                        }
                        &:nth-of-type(2){
                            font-size: 18px;
                            margin-bottom: 20px;
                        }
    
                        &:last-of-type{
                            margin-bottom: 15px;
                        }
                        
                    }
    
                    .download{
                        width: 25%;
                        button{
                            font-size: 12px;
                        }
                    }
                }
            }
        }
    }
    .layaboxblue{
        .container{
            padding-top: 25px;
            padding-bottom: 25px;
            p{
                font-size: 30px;
                span{
                    font-size: 20px;
                    line-height: 150%;
                }
            }
            .row{
                .blueboxtext{
                    padding-top: 15px;
                    p{
                        font-size: 12px;
                        line-height: 150%;
    
                        &:nth-of-type(1),&:nth-of-type(3){
                            font-size: 16px;
                        }
                        &:nth-of-type(2),&:nth-of-type(4){
                            margin-bottom: 26px;
                        }
                    }
                }
            }
        }
    }
    .layaboxwhite{
        .container{
            padding-top: 25px;
            padding-bottom: 25px;
            .row{
                .whitetext{
                    p{
                        font-size: 12px;
                        &:nth-of-type(1){
                            font-size: 30px;
                            span{
                                width: 9%;
                                font-size: 20px;
                                
                                line-height: 150%;
                                margin-right: 10px;
                            }
                        }
                        &:nth-of-type(2){
                            font-size: 14px;
                        }
                    }
                    .soblue{
                        color: #3393df;
                    }
                    .so{
                        color: #5d5d5d;
                        text-indent: 2em;
                        margin-bottom: 25px;
                    }
                }
            }
        }
    }
    
}

@media screen and (max-width:767px){
    .layaboxgreen{
        .container{
            padding-bottom: 25px;
            .row{
                .greenbox{
                    p{
                        &:nth-of-type(1){
                            span{
                                width: 4%;
                                margin-right: 10px;
                                font-size: 20px;
                                line-height: 150%;
                            }
                        }
                        &:nth-of-type(2){
                            font-size: 18px;
                            margin-bottom: 20px;
                        }
    
                        &:last-of-type{
                            margin-bottom: 15px;
                        }
                        
                    }
                }
            }
        }
    }

    

    .layaboxwhite{
        .container{
            padding-top: 25px;
            padding-bottom: 25px;
            .row{
                .whiteimg{
                    display: none;
                }
            }
        }
    }

    .layaboxwhite{
        .container{
            padding-top: 25px;
            padding-bottom: 25px;
            .row{
                .whitetext{
                    p{
                        font-size: 12px;
                        &:nth-of-type(1){
                            font-size: 30px;
                            span{
                                width: 4%;
                                font-size: 20px;
                                
                                line-height: 150%;
                                margin-right: 10px;
                            }
                        }
                        &:nth-of-type(2){
                            font-size: 14px;
                        }
                    }
                    .soblue{
                        color: #3393df;
                    }
                    .so{
                        color: #5d5d5d;
                        text-indent: 2em;
                        margin-bottom: 25px;
                    }
                }
            }
        }
    }
}